//
// Created by Administrator on 2020/8/4.
//
#include <iostream>
#include <fstream>

int main() {

    using std::ofstream;
    using std::cin;
    using std::cout;

    using namespace std;
    char context[50];

    ifstream inFile;

    inFile.open("outfile.txt");

    while (inFile.getline(context, 50)) {
        cout << context << std::endl;
    }

    inFile.close();
    return 0;
}
